# 指定 CMake 最低版本
cmake_minimum_required(VERSION 3.10)

project(example14)

set(srcs main.cpp)

# 查找Qt Core模块 
# find_package(Qt6 REQUIRED COMPONENTS Gui)  # Qt6版本 
find_package(Qt5 REQUIRED COMPONENTS Gui)

add_executable(example14 ${srcs})
link_libraries(${LIBRARY_OUTPUT_PATH})
target_link_libraries(example14 PRIVATE mgnotify Qt5::Gui)